#!/usr/bin/env bash


# 预先安装   sudo apt install nginx  
 

 
openssl req -newkey rsa:2048 -x509 -nodes -keyout ca.key -out ca.crt -days 3650 -subj "/C=CN/O=People's Republic of China/CN=China CA"

exit


# 手动开启
sudo nginx  -c /home/lwl/gitee/nginx/webxr.conf  
sudo killall nginx


https://localhost/